$(function(){
    // $('html,body').animate({scrollTop: '0px'}, 800);
    $('#toIndex').hide()
    $('#first').show()
    $('#second').hide()
    $('#three').hide()
    $('#fourth').hide()
    $('#six').hide()
    $('#line1').show()
    $('#line2').hide()
    $('#line3').hide()
    $('#line4').hide()
    $('#line5').hide()
    $('#line6').hide()
    $('.nav_top_word1').css({"color":"#1680be"})
    $('.nav_top_word2').css({"color":"#333333"})
    $('.nav_top_word3').css({"color":"#333333"})
    $('.nav_top_word4').css({"color":"#333333"})
    $('.nav_top_word5').css({"color":"#333333"})
    $('.nav_top_word6').css({"color":"#333333"})
    $('.nav_middle_word1').css({"color":"#1680be","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word2').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word3').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word4').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word5').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word6').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
});
function firstHander() {
    $('#toIndex').hide()
    $('#first').show()
    $('#second').hide()
    $('#three').hide()
    $('#fourth').hide()
    $('#six').hide()
    $('#line1').show()
    $('#line2').hide()
    $('#line3').hide()
    $('#line4').hide()
    $('#line5').hide()
    $('#line6').hide()
    $('.nav_middle_word1').css({"color":"#1680be","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word2').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word3').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word4').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word5').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word6').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_top_word1').css({"color":"#1680be"})
    $('.nav_top_word2').css({"color":"#333333"})
    $('.nav_top_word3').css({"color":"#333333"})
    $('.nav_top_word4').css({"color":"#333333"})
    $('.nav_top_word5').css({"color":"#333333"})
    $('.nav_top_word6').css({"color":"#333333"})
}
function secondHander() {
    $('#toIndex').show()
    $('#first').hide()
    $('#second').show()
    $('#three').hide()
    $('#fourth').hide()
    $('#six').hide()
    $('#line1').hide()
    $('#line2').show()
    $('#line3').hide()
    $('#line4').hide()
    $('#line5').hide()
    $('#line6').hide()
    $('.nav_middle_word1').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word2').css({"color":"#1680be","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word3').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word4').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word5').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word6').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_top_word1').css({"color":"#333333"})
    $('.nav_top_word2').css({"color":"#1680be"})
    $('.nav_top_word3').css({"color":"#333333"})
    $('.nav_top_word4').css({"color":"#333333"})
    $('.nav_top_word5').css({"color":"#333333"})
    $('.nav_top_word6').css({"color":"#333333"})
}
function thirthHander() {
    $('#toIndex').show()
    $('#first').hide()
    $('#second').hide()
    $('#three').show()
    $('#fourth').hide()
    $('#six').hide()
    $('#line1').hide()
    $('#line2').hide()
    $('#line3').show()
    $('#line4').hide()
    $('#line5').hide()
    $('#line6').hide()
    $('.nav_middle_word1').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word2').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word3').css({"color":"#1680be","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word4').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word5').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word6').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_top_word1').css({"color":"#333333"})
    $('.nav_top_word2').css({"color":"#333333"})
    $('.nav_top_word3').css({"color":"#1680be"})
    $('.nav_top_word4').css({"color":"#333333"})
    $('.nav_top_word5').css({"color":"#333333"})
    $('.nav_top_word6').css({"color":"#333333"})
}
function forthHander() {
    $('#toIndex').show()
    $('#first').hide()
    $('#second').hide()
    $('#three').hide()
    $('#fourth').show()
    $('#six').hide()
    $('#line1').hide()
    $('#line2').hide()
    $('#line3').hide()
    $('#line4').show()
    $('#line5').hide()
    $('#line6').hide()
    $('.nav_middle_word1').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word2').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word3').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word4').css({"color":"#1680be","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word5').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word6').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_top_word1').css({"color":"#333333"})
    $('.nav_top_word2').css({"color":"#333333"})
    $('.nav_top_word3').css({"color":"#333333"})
    $('.nav_top_word4').css({"color":"#1680be"})
    $('.nav_top_word5').css({"color":"#333333"})
    $('.nav_top_word6').css({"color":"#333333"})
}

function sixthHander() {
    $('#toIndex').show()
    $('#first').hide()
    $('#second').hide()
    $('#three').hide()
    $('#fourth').hide()
    $('#six').show()
    $('#line1').hide()
    $('#line2').hide()
    $('#line3').hide()
    $('#line4').hide()
    $('#line5').hide()
    $('#line6').show()
    $('.nav_middle_word1').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word2').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word3').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word4').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word5').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word6').css({"color":"#1680be","font-size":" 14px","margin-top":" 12px"})
    $('.nav_top_word1').css({"color":"#333333"})
    $('.nav_top_word2').css({"color":"#333333"})
    $('.nav_top_word3').css({"color":"#333333"})
    $('.nav_top_word4').css({"color":"#333333"})
    $('.nav_top_word5').css({"color":"#333333"})
    $('.nav_top_word6').css({"color":"#1680be"})
}

$(".dynamics_list_item li").click(function(){
     console.log($(this))
    $(this).siblings('li').removeClass('shadows');
    $(this).addClass('shadows');
    // $(this).siblings('li');
});
// 置顶
$('#toTop').click(function(){$('html,body').animate({scrollTop: '0px'}, 800);});
// 回到首页
$('#toIndex').click(function(){
    $('#toIndex').hide()
    $('html,body').animate({scrollTop: '0px'}, 800);
    $('#first').show()
    $('#second').hide()
    $('#three').hide()
    $('#fourth').hide()
    $('#six').hide()
    $('#line1').show()
    $('#line2').hide()
    $('#line3').hide()
    $('#line4').hide()
    $('#line5').hide()
    $('#line6').hide()
    $('.nav_middle_word1').css({"color":"#1680be","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word2').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word3').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word4').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word5').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_middle_word6').css({"color":"#999999","font-size":" 14px","margin-top":" 12px"})
    $('.nav_top_word1').css({"color":"#1680be"})
    $('.nav_top_word2').css({"color":"#333333"})
    $('.nav_top_word3').css({"color":"#333333"})
    $('.nav_top_word4').css({"color":"#333333"})
    $('.nav_top_word5').css({"color":"#333333"})
    $('.nav_top_word6').css({"color":"#333333"})
});
// 查看更多
$('.checkMore_btn_img1').on('click',function () {
    $('.show_more_Declaration1').removeClass('show_more_Declaration1').addClass('show_more_Declaration4')
    $('#checkMore_btn1').hide()
})
$('.checkMore_btn_img2').on('click',function () {
    $('.show_more_Declaration2').removeClass('show_more_Declaration2').addClass('show_more_Declaration4')
    $('#checkMore_btn2').hide()
})
